<div class="col_02" id="rightside">
					<div class="col_02_01" id="sysContent_box">
						<div class="main-wrap">
							<div class="m-t">
								<h2>Create a Message</h2>
							</div>
							<div class="m-c">
		{if $err!=''}
		<p class="title1" style="color:red;font-size:12px">{$err}</p>
		{/if}
        <form action="sendemail.php?action=send" name="form1" method="POST"  enctype="multipart/form-data">
		<table width="100%" class="table_style">
		<tbody>
			<tr>
				<td>Date:</td>
				<td colspan="2">
					<b>{$date}</b>
				</td>
			</tr>
			<tr>
				<td>From:</td>
				<td colspan="2">
					<b>{$from}</b>
				</td>
			</tr>
			<tr>
				<td>Subject:</td>
				<td colspan="2">
				  <input  type="text" name="e_subject" id="e_subject" maxlength="200" value="{$e_subject}" style="width:400px;background-color:#FFFFFF;border:1px solid #999999;height:20px">
				</td>
			</tr>
			<tr>
				<td valign="top">Send To:</td>
				<td colspan="2">
					<div style="width:420px;"> 
					  <div style="float:left;">
						  <input  type="text" name="e_toemail" maxlength="200" value="" style="width:330px;float:left" id="demo-input-facebook-theme" > 
					  </div>
					   <div style="float:right;padding-top:5px;"> &nbsp;<a href="###" onmouseover="Tip('You can send messages only to people listed in your My Contacts.', WIDTH, 240,OFFSETY,20, SHADOW, true)"><img src="images/icn_question.jpg" border="0" align="absmiddle" /></a></div>
					   <div style="clear:both"></div>
					</div>	 
					<div style="width:450px;">
						  <font color="gray">Type "@" to view all your contacts{if $u_status == 'Premium'}, "G" to show all your groups{/if}.</font><br />
						  <input type="checkbox" name="toall" value="1" {if $toall == 1}checked{/if}/> Check to send to all my contacts. &nbsp;<a href="###" onmouseover="Tip('Your recipients will not see each other\'s names or email address', WIDTH, 200,OFFSETY,20, SHADOW, true)" ><img src="images/icn_question.jpg" border="0" align="absmiddle" /></a> &nbsp; <input value="Add a Contact" type="button" onclick="location.href='postcontact.php'" class="button-secondary"  />
					</div>
				</td>
			</tr>
			<tr>
				<td valign="top">Attach Job:</td>
				<td colspan="2">
					<div style="width:420px"> 
						<div style="float:left;">
							<input  type="text" name="attachJobs" maxlength="200" value="" id="demo-input-facebook-theme2"  style="width:330px;" ><font color="gray">Type "=" to view a list of your jobs.</font>
						</div>
						<div style="float:right;padding-top:5px"><a href="###" onmouseover="Tip('You can select any jobs with a ‘OPEN or OnHold’ status to be included in this message.', WIDTH, 200,OFFSETY,20, SHADOW, true)"><img src="images/icn_question.jpg" border="0" align="absmiddle" /></a></div>
					</div>
					<div></div>
				</td>
			</tr>
			<tr>
				<td valign="top">Attach File:</td>
				<td colspan="2">	
					<input type="file" name="attachfile" />
				</td>
			</tr>
			<tr>
			    <td>Message:</td>
				<td colspan="2">
					{$fckcontent}
				</td>
			</tr>
			</tbody></table>
			<div class="t-center">
					<input class="bginput button-secondary" type="hidden" name="preview" value=""/>&nbsp;
					<input class="bginput button-secondary" type="submit"  value=" Preview " onclick="javascript:openNew()"/>&nbsp;
					<input class="bginput button-secondary" type="submit" name="send" value=" Send " onclick="javascript:openOriginal()" />&nbsp;
					{if $preview == 1}
					<input class="bginput button-secondary" type="button" name="cancel" value=" Cancel " onclick="javascript:window.close()" />
					{else}
					<input class="bginput button-secondary" type="button" name="cancel" value=" Cancel " onclick="javascript:history.go(-1)" />
					{/if}
			</div>
		</form>
</div>
	</div>
</div>{literal}
<script type="text/javascript">
		function openNew(){
			document.form1.preview.value = ' Preview ';
			document.form1.target = "_blank";
			document.form1.submit();
		}

		function openOriginal(){
			document.form1.preview.value = '';
			document.form1.target="";
			document.form1.submit();
		}

        $(document).ready(function() {
            $("#demo-input-facebook-theme").tokenInput([
			{/literal}
			{$mycontacts}
			{literal}
			], {
				{/literal}
				{$postcontacts}
				{literal}
				preventDuplicates: true,
				hintText: "Enter First or Last Name"
            });
        });

		$(document).ready(function() {
            $("#demo-input-facebook-theme2").tokenInput([
			{/literal}
			{$myjobs}
			{literal}
			],{
				{/literal}
				{$postjobs}
				{literal}
				preventDuplicates: true,
				hintText: "Enter Job Title or ER Job Req Number"
			});
        });
 </script>
{/literal}
<div class="col_02_02" id="side_box">
	<div class="signIn">
		<h2 class="m_t m_t_gray">Member  Center</h2>
		<div class="m_c">
			<div class="mySigned" id="J_sign_form">
				<div id="loginboxx">
					<p class="info">Welcome, <span class="u_name">{$uname}</span>!</p>
					<p class="lnk_panel"><a href="settings.php" class="lnk_arrow">My Account</a></p>
					
					<p class="lnk_panel"><a href="#" onclick="return ajax_out()" class="lnk_arrow">Sign Out</a><div id="loadp"></div></p>
				</div>
			</div>
		</div>
		<div class="m_f"></div>
	</div>
	<div class="panel_box mt_10">
		<h2 class="m_t m_t_gray">Join a Chat </h2>
		<div class="m_c">
			<div>
				<ul>
					<li><a href="findchats.php">Skype Chat</a></li>
					<li><a href="findwebinars.php">Webinars</a></li>
				</ul>
			</div>
			<p class="info"><a href="#"></a></p>							
		</div>
		<div class="m_f"></div>
	</div>
</div>

</div>
			</div>
		</div>
	</div>
</section>